package com.topisv.tms.repository.work.prepkg;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.work.prepkg.PrepkgPickItem;

/**
 * 预包装拣货任务明细_DAO
 * @author ch
 *
 */
public abstract interface PrepkgPickItemDao extends PagingAndSortingRepository<PrepkgPickItem, Long>, JpaSpecificationExecutor<PrepkgPickItem>
{

	@Query("select t from PrepkgPickItem t where t.taskCode=?")
	List<PrepkgPickItem> loadByTaskCode(String taskCode);
}